header {
    background-color: #fd9321;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.nav-ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
}

.nav-li {
    font-size: 1.2rem;
}

.nav-a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 0.3rem;
    transition: all 0.3s ease-in-out;
}

.nav-a:hover {
    background-color: #fff;
    color: #24292e;
}


table {
    border-collapse: collapse;
    border: 1px solid #ddd;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: rgba(253,147,33,0.2);
}

#paginator {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination {
    display: flex;
    list-style: none;
}

.page-item {
    margin: 0 5px;
    float: left;
}

#contentArea {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
}

#student-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: rgba(253, 147, 33, 0.55);
    border-radius: 5px;
    min-height: 200px;
}

#student-form > div{
    margin-bottom: 16px;
}

#student-form label {
    display: inline-block;
    width: 80px;
}

#student-form input[type="text"],
#student-form input[type="date"],
#student-form input[type="email"],
#student-form textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 240px;
}

#student-form input[type="radio"] {
    margin-right: 8px;
}

#student-form textarea {
    height: 96px;
    resize: none;
}

#student-form button[type="submit"] {
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: right;
}

.search-input {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 40px;
}
.search-input input[type="text"] {
    flex: 1;
    padding: 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    font-size: 16px;
}
.search-input button {
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}
.search-input select {
    padding: 10px;
    border: none;
    border-left: 2px solid #ccc;
    font-size: 16px;
    margin-left: 10px;
    cursor: pointer;
}
.search-input .search-icon {
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
}

/* 选择所有只读的input元素 */
input:read-only {
    background-color: #f2f2f2; /* 设置背景色为灰色 */
    color: #999; /* 设置字体颜色为灰色 */
}
